// Copyright (c) 2019 Presto Labs Pte. Ltd.
// Author: donggu

#include "coin2/base/file.h"

#include <experimental/filesystem>

#include <fmt/format.h>

void mkdirs(const std::experimental::filesystem::path& path) {
  std::experimental::filesystem::create_directories(path);
}

void mkdirs_for_file(const std::experimental::filesystem::path& path) {
  std::experimental::filesystem::create_directories(path.parent_path());
}
